<%@page contentType="text/html; UTF-8" pageEncoding="UTF-8" isELIgnored="false" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>登录页面</h1>
<form action="${pageContext.request.contextPath}/sys/user/login" method="post">
    用户名：<input type="text" name="username"><br>
    密码：<input type="text" name="password"> <br>
    验证码：<input type="text" name="code"> <br>
    <img src="${pageContext.request.contextPath}/sys/user/code" alt="验证码">
    <input type="submit" value="提交">
</form>
<a href="${pageContext.request.contextPath}/register.jsp">注册</a>
<script>

</script>
</body>
</html>